package com.asiainfo.complier.codemanger;

import java.io.File;
import javax.swing.filechooser.FileFilter;

public class JavaFileFilter extends FileFilter {

	public String getDescription() {

		return "java file|*.java";
	}

	public boolean accept(File f) {

		return f.isDirectory() || f.getAbsolutePath().endsWith(".java");
	}
}